package com.blogs.common.exception;

import lombok.Data;

/**
 * @Author: xiaokai
 * @Description:
 * @Date: 2019/6/26
 * @Version: 1.0
 */
public class ErrorResponseEntity {

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ErrorResponseEntity(){}

    public ErrorResponseEntity(int code, String message) {
        this.code = code;
        this.message = message;

    }
}
